Skip to content

[websocketpp] Add new port#44973

Closed
OhmV-IR wants to merge 6 commits intomicrosoft:masterfrom
OhmV-IR:add-websocketpp
Closed

[websocketpp] Add new port#44973
OhmV-IR wants to merge 6 commits intomicrosoft:masterfrom
OhmV-IR:add-websocketpp

Conversation

@OhmV-IR
Copy link
Contributor

@OhmV-IR OhmV-IR commented Apr 11, 2025

Fixes #44640

  • Changes comply with the maintainer guide.
  • The name of the port matches an existing name for this component on https://repology.org/ if possible, and/or is strongly associated with that component on search engines. (name matches the github repo, but repology appears to be down at the moment)
  • Optional dependencies are resolved in exactly one way. For example, if the component is built with CMake, all find_package calls are REQUIRED, are satisfied by vcpkg.json's declared dependencies, or disabled with CMAKE_DISABLE_FIND_PACKAGE_Xxx.
  • The versioning scheme in vcpkg.json matches what upstream says.
  • The license declaration in vcpkg.json matches what upstream says.
  • The installed as the "copyright" file matches what upstream says.
  • The source code of the component installed comes from an authoritative source.
  • The generated "usage text" is accurate. See adding-usage for context.
  • The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
  • Only one version is in the new port's versions file.
  • Only one version is added to each modified port's versions file.

@LilyWangLL LilyWangLL added the category:new-port The issue is requesting a new library to be added; consider making a PR! label Apr 11, 2025
@LilyWangLL
Copy link
Contributor

Regarding the issue of dependency on Boost, it has not been resolved, and the upstream of websocketpp has not been maintained for five years. Therefore, this PR might not be accepted.

Please refer to the comments for more details: #42678 (comment).

@LilyWangLL LilyWangLL changed the title add websocketpp [websocketpp] Add new port Apr 11, 2025
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO zaphoyd/websocketpp
REF 56123c87598f8b1dd471be83ca841ceae07f95ba
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This port was explicitly removed in #42678 due to being entirely unmaintained and unable to be built with current versions of Boost. Has anything changed about that situation?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it does seem to be compiling, at least on my machine but it's not under active maintenance anymore(last update was 5yrs ago), so I'm considering dropping this PR

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the x86 ci fail is just from a version check failing which is weird since I've made sure to use vcpkg x-add-version websocketpp --overwrite-version

Copy link
Member

@BillyONeal BillyONeal Apr 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It installs the port but can you actually use the port for anything with the version of Boost we have?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(I didn't address the version database failure because there's no point in touching that with the 'what changed between when this was intentionally deindexed and now?' question outstanding. If somehow the port was usable the right fix is probably to bring back the exact git tree that was deindexed which had some patch fixes and similar...)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://github.com/zaphoyd/websocketpp/blob/1b11fd301531e6df35a6107c1e8665b1e77a2d8e/CMakeLists.txt#L218
considering this line, I'm going to say no because this explicitly wants boost 1.39.0 or up to 1.46.1 which is way behind that which is in vcpkg(1.87.0) so I'm going to be closing this PR. The issue regarding adding this port should also be closed, since the situation is unlikely to ever change.

@OhmV-IR OhmV-IR closed this Apr 14, 2025
@OhmV-IR OhmV-IR deleted the add-websocketpp branch December 16, 2025 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category:new-port The issue is requesting a new library to be added; consider making a PR!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[New Port Request] <websocketpp>

3 participants